package com.linn.home.dao;

import com.linn.home.entity.RoleMenu;
import com.linn.home.entity.UserRole;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2018/8/9.
 */
@Repository("userRoleDao")
public interface UserRoleDao {

    int deleteUserRoleByUserId(UserRole userRole);

    int addUserRole(UserRole userRole);

    List<UserRole> findListByUserId(int userId);
}
